package com.zjitc.service;

import com.zjitc.model.User;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/4/16 16:18
 * @description:
 */
public interface UserService {

  User doLogin(String username, String password);


  User doRegist(User user);

  String findEmailByUsername(String username);

  int findUsername(String username);

  void updatePassword(String username, String password);


}
